package cn.szzsi.common.model;

import cn.szzsi.common.model.base.BaseProductAttributeMapstore;

//@TableBind(tableName="mall_product_attribute_mapstore")
public class ProductAttributeMapstore extends BaseProductAttributeMapstore<ProductAttributeMapstore> {

	private static final long serialVersionUID = 6847616019701945804L;
	
	public static final ProductAttributeMapstore dao = new ProductAttributeMapstore().dao();

	// 返回产品属性
	public ProductAttribute getProductAttribute(){
		String sql = "select * from mall_product_attribute where id = ?";
		return ProductAttribute.dao.findById(sql,getStr("mapkey_id"));
	}
}
